//校验手机号
export const checkVerify = (type: string, value: string) => {
    let regex
    switch (type) {
        case 'phone':
            regex = /^(?:(?:\+|00)86)?1[3-9]\d{9}$/
            break
        // 添加其他类型的验证规则
        default:
            return false
    }

    return regex.test(value)
}
